<template>
  <scroll-view scroll-y="" class="content">
    <view class="wrap" style="background: rgb(229, 238, 217)">
      <view>参数</view>
      <view>参数值</view>
    </view>
    <view
      class="wrap"
      v-for="(item, index) in data"
      :key="index"
      :style="{
        borderWidth: '0rpx',
        backgroundColor: index % 2 == 1 ? '#FAFAFA' : 'white',
      }"
    >
      <view>{{ item.csmc }}</view>
      <view>{{ item.csz }}</view>
    </view>
    <view style="height: 200rpx" />
  </scroll-view>
</template>

<script>
import API from "@/common/api.js";
export default {
  components: {},
  data() {
    return {
      pzhAuthorization: uni.getStorageSync("pzhAuthorization"),
      data: [],
      timer: null,
    };
  },
  onLoad(options) {
    this.data = uni.getStorageSync("equipmentSubsidiaryData").djparameters;
  },
  onUnload() {},
  methods: {},
};
</script>
<style scoped>
/* #ifndef H5 */
.content >>> .xdsoft_flipcountdown > .xdsoft_digit {
  transition-property: background-position;
  transition-duration: 0.5s;
}

/* #endif */
</style>
<style lang="less" scoped>
.content {
  background: white;
  height: 100vh;

  .wrap {
    display: flex;
    border-top: 2rpx solid #dcdfe6;
    border-bottom: 2rpx solid #dcdfe6;
    flex-wrap: wrap;

    view {
      white-space: normal;
      word-break: break-all;
      font-size: 26rpx;
      padding: 20rpx;
      width: calc(50vw - 40rpx);
      display: flex;
      line-height: 40rpx;
      flex-direction: column;
      justify-content: center;
    }
  }

  .scroll {
    height: calc(100vh - 62rpx);

    view {
      color: #777777;
      border-bottom: 2rpx solid #dcdfe6;
    }
  }
}
</style>
